<template>
	<view class="page-container">
		<view class="account" @click="getData()">
			<view class="tx">
				<up-image src="https://cdn.uviewui.com/uview/album/1.jpg" shape="circle" width="225"></up-image>
			</view>
			<view class="a">
				555
			</view>
		</view>

	</view>
</template>

<script setup>
	import {
		onMounted,
		ref
	} from 'vue';
	import {
		loginRequest
	} from '@/request/login.js'
	const a = ref(0)
	const getData = () => {
		loginRequest().then((res) => {
			console.log('成功', res);
		}).catch((err) => {
			console.error('失败', err);
		});
	}
</script>

<style>
	.page-container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
</style>